package com.siwei.mes.sync.tc.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.ArrayList;
import java.util.List;

/**
 * 生成原材料相关委托返回实体
 *
 * @Description: 生成原材料相关委托返回实体
 * @Version: 1.0
 * @author: mlchen
 * @date: 2025/3/17 21:56
 */
@Data
@Accessors(chain = true)
public class GenMaterialResult {
    @ApiModelProperty(value = "检测类型  1-快检 2-批检")
    private Integer checkType;

    @ApiModelProperty(value = "是否成功")
    private Boolean isSuccess;

    @ApiModelProperty(value = "是否拆分运单")
    private Boolean isSplit = false;

    @ApiModelProperty(value = "生成对应的试验委托")
    private List<Long> experimentIdList = new ArrayList<>();

    @ApiModelProperty(value = "错误消息")
    private String errorMsg;
}
